package com.gitee.neuray.security.par.ParExamPlan.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gitee.neuray.security.common.entity.BaseEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

import java.util.Date;

/**
 * 考评计划表
 *
 * @author dev
 * @email ${email}
 * @date 2020-08-27 10:28:11
 */
@Data
@Table(name = "PAR_EXAM_PLAN")
public class ParExamPlanEntity extends BaseEntity {


		/**
	 * 考评计划名称
	 */
	@Column(name = "KPJHMC")
	private String kpjhmc;
	
		/**
	 * 考评人/单位
	 */
	@Column(name = "KPR")
	private String kpr;
	
		/**
	 * 单位类型  1、机关  2、各层级单位
	 */
	@Column(name = "DWLX")
	private String dwlx;
	
		/**
	 * 开始时间
	 */
	@Column(name = "KSSJ")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date kssj;
	
		/**
	 * 结束时间
	 */
	@Column(name = "JSSJ")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date jssj;
	
		/**
	 * 检查方式（1、四不两直检查2、定期检查）
	 */
	@Column(name = "JCFS")
	private String jcfs;
	
		/**
	 * 状态（1、有效2、无效）
	 */
	@Column(name = "ZT")
	private String zt;
	
		/**
	 * 备注
	 */
	@Column(name = "BZ")
	private String bz;
	
		/**
	 * 删除标记  1 已删除 0 未删除
	 */
	@Column(name = "SCBJ")
	private String scbj;
	/**
	 * 考评周期id
	 */
	@Column(name = "KPZQID")
	private String kpzqid;

	@Transient
	private String kpzqName;

	@Transient
	private String kprName;

	@Transient
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date kssjStart;

	@Transient
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date kssjEnd;

	@Transient
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date jssjStart;

	@Transient
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date jssjEnd;
	
}
